package com.tem.product.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 产品属性值
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_attribute_value")
@ApiModel(value="ProductAttributeValue对象", description="产品属性值")
public class ProductAttributeValue implements Serializable {
    private static final long serialVersionUID=890546468431L;
    @ApiModelProperty(value = "栏目属性值对应表")
    @TableId(value = "product_attribute_value_id", type = IdType.AUTO)
    private Long productAttributeValueId;

    @ApiModelProperty(value = "属性id")
    @TableField("product_attribute_id")
    private Long productAttributeId;

    @ApiModelProperty(value = "产品id")
    @TableField("product_id")
    private Long productId;

    @ApiModelProperty(value = "值")
    @TableField("input_value")
    private String inputValue;

    @ApiModelProperty(value = "价格")
    @TableField("price")
    private BigDecimal price;


}
